package cn.tedu.eb_film.ex;


import cn.tedu.eb_film.utils.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException{

    @Getter
    private ServiceCode code;

    public ServiceException(ServiceCode code, String message){
        super(message);
        this.code = code;
    }
}
